package com.xuhuan.client.util;

import java.util.UUID;

/**
 * @Author huan.xu
 * @Date 2023/6/19 10:50
 * @Description uuid工具类
 */
public class UuidUtil {

    private UuidUtil() {
    }

    public static String uuid() {
        UUID uuid = UUID.randomUUID();
        return uuid.toString()
                .replaceAll("-", "")
                .substring(0, 16);
    }
}
